#include "rapidjson/rapidjson.h"
#include "rapidjson/writer.h"
#include "rapidjson/stringbuffer.h"

#include <iostream>
#include <fstream>
#include <string>
#include <cstdio>
using namespace std;

string readFile(const char* filename)
{
	fstream file;
	file.open(filename, ios::in);
	if (file)
	{
		file.seekg(0, file.end);
		int size = file.tellg();
		file.seekg(0, file.beg);
		char* buf = new char[size];
		file.read(buf, size);
		string str = buf;
		delete[]buf;
		file.close();
		return str;
	}
	printf("fail to open file:%s", filename);
	return "";
}

int main()
{

}
